# ====================================
# Company: Zonge International, INC.
# Developer: Wanjie Feng
# Date: 11/11/2023
# Time: 9:02 AM
# Filename: Read_Survey.py
# IDE: PyCharm
# =====================================

def ReadSurvey():
    '''
        这里是一个模拟的过程，实际运行中，这些数据都是从手部读取的。
    :return: SurveyInfo
    '''
    SurveyInfo = {}

    SurveyInfo['Date'] = '2023-11-10'               # 日期
    SurveyInfo['Time'] = '07:25:20'                 # 时间
    SurveyInfo['JobName'] = '昌平地下水勘查项目'       # 项目名称
    SurveyInfo['JobLoc'] = '北京'                   # 项目地点
    SurveyInfo['JobBy'] = '竞元科技'                 # 施工单位
    SurveyInfo['JobFor'] = '昌平某单位'               # 客户名称
    SurveyInfo['Operator'] = '尉'                   # 操作员
    SurveyInfo['JobSN'] = 'CP100'                   # 项目编号
    SurveyInfo['LineNO'] = '100'                    # 线号
    SurveyInfo['LenUnit'] = 'm'                     # 长度单位
    SurveyInfo['ArrayType'] = 'dipole-dipole'       # 排列方法
    SurveyInfo['Skip'] = 0                          # 数据是否略过
    SurveyInfo['SyncMode'] = 'GPS'                  # 同步模式
    SurveyInfo['Lat'] = 32.000000                   # 经度
    SurveyInfo['Lon'] = 32.000000                   # 维度
    SurveyInfo['Alt'] = 32.000000                   # 高程
    SurveyInfo['TXSTN'] = 0                         # 发射点号
    SurveyInfo['TXA'] = 0,0,0                       # 发射A位置
    SurveyInfo['TXB'] = 20,0,0                      # 发射B位置
    SurveyInfo['TXFrq'] = 0.5                       # 发射频率
    SurveyInfo['TXDuty'] = 0.5                      # 发射占空比
    SurveyInfo['CycleNO'] = 4                       # 一次叠加波形数
    SurveyInfo['StackNO'] = 3                       # 叠加次数
    
    SurveyInfo['RXSTN'] = 40                        # 接收点号
    SurveyInfo['RXM'] = 40, 0, 0                    # 接收M位置
    SurveyInfo['RXN'] = 60, 0, 0                    # 接收N位置
    SurveyInfo['AMZ'] = 30                          # 线的走向
    SurveyInfo['BLKNO'] = 0                         # 数据块编号
    SurveyInfo['Aspacing'] = 20                     # 点距
    SurveyInfo['Sspacing'] = 20                     # 线距
    SurveyInfo['RXLen'] = 20                        # 接收长度，一般与点距相同，特殊情况下会不一样

    return SurveyInfo